package com.tdb.mapper;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Update;
import org.springframework.stereotype.Repository;

/**
 * @author: LCG
 * 作者: LCG
 * 日期: 2021/4/6  14:23
 * 描述:
 */
@Mapper
@Repository
public interface TestMapper {

    @Update("update base_user set userName='XXXXXX' where id=#{id}")
    public int updateOne(long id);


    @Update("update base_user set userName='YYYYYY' where id=#{id}")
    public int updateOne2(long id);


}
